package com.wclass.service;

import com.wclass.entity.CouresProgressBill;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 * 课程学习情况 服务类
 * </p>
 *
 * @author 张浩高
 * @since 2018-12-20
 */
public interface ICouresProgressBillService extends IService<CouresProgressBill> {


    Map<String, Object> selectMapByUserIdAndCouresId(Long userID, Long courseInfoId);

    void insertCouresProgressBill(Long couresId, Long courseChapterId, Long userID, Integer state, Integer studyDuration);

    boolean judgeCourseStudentProgress(Long courseInfoId);
}
